home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / patches / ami301c.zip / QKSTAT.SM$ / QKSTAT.SMM
INI File  |  1993-05-17  |  26KB  |  1,811 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Quickly calculate basic numeric summary information for a shaded range of numbers.
  19.     
  20.     
  21.     
  22.     
  23.     737687215
  24.     25
  25.     732310448
  26.     704
  27.     8
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         240
  61.         0
  62.         49152
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Bullet
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         49152
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         288
  180.         288
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         <*0>
  206.         360
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         2
  217.         .
  218.         ,
  219.         $
  220.     Bullet
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         240
  341.         0
  342.         49155
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         2
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         1
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [lay]
  560.     Standard
  561.     513
  562.     [rght]
  563.         15840
  564.         12240
  565.         1
  566.         1440
  567.         1440
  568.         1
  569.         1440
  570.         1440
  571.         0
  572.         1
  573.         0
  574.         1
  575.         0
  576.         2
  577.         1
  578.         1440
  579.         10800
  580.         12
  581.         1
  582.         720
  583.         1
  584.         1440
  585.         1
  586.         2160
  587.         1
  588.         2880
  589.         1
  590.         3600
  591.         1
  592.         4320
  593.         1
  594.         5040
  595.         1
  596.         5760
  597.         1
  598.         6480
  599.         1
  600.         7200
  601.         1
  602.         7920
  603.         1
  604.         8640
  605.     [hrght]
  606.     [lyfrm]
  607.         1
  608.         11200
  609.         0
  610.         0
  611.         12240
  612.         1440
  613.         0
  614.         1
  615.         3
  616.         1 0 0 0 0 0 0
  617.         0
  618.         0
  619.         1
  620.     [frmlay]
  621.         1440
  622.         12240
  623.         1
  624.         1440
  625.         72
  626.         1
  627.         792
  628.         1440
  629.         0
  630.         1
  631.         0
  632.         1
  633.         1
  634.         0
  635.         1
  636.         1440
  637.         10800
  638.         2
  639.         2
  640.         4680
  641.         3
  642.         9360
  643.     [txt]
  644. Peyton McManus    Lotus WPD
  645.  
  646. >
  647.     [frght]
  648.     [lyfrm]
  649.         1
  650.         13248
  651.         0
  652.         14400
  653.         12240
  654.         15840
  655.         0
  656.         1
  657.         3
  658.         1 0 0 0 0 0 0
  659.         0
  660.         0
  661.         2
  662.     [frmlay]
  663.         15840
  664.         12240
  665.         1
  666.         1440
  667.         792
  668.         1
  669.         14472
  670.         1440
  671.         0
  672.         1
  673.         0
  674.         1
  675.         1
  676.         0
  677.         1
  678.         1440
  679.         10800
  680.         2
  681.         2
  682.         4680
  683.         3
  684.         9360
  685.     [txt]
  686. >
  687. [elay]
  688. [l1]
  689.     0
  690. [edoc]
  691. <:#284,9360>
  692.  
  693. <:#284,9360>
  694.  
  695. <:#568,9360>Define        CECREATEINSTANCE(LPHANDLE)    DllCall("LTSCE01.DLL,CECREATEINSTANCE,HO",%1)
  696.  
  697. <:#568,9360>Define        CEDESTROYINSTANCE(HANDLE)    DllCall("LTSCE01.DLL,CEDESTROYINSTANCE,HH",%1)
  698.  
  699. <:#568,9360>Define        CECALCNOW(HINSTANCE, lpFormula, lpOutPut)    DllCall("LTSCE01.DLL,CECALCNOW,HHCC",%1,%2,%3)
  700.  
  701. <:#284,9360><:f,,>
  702.  
  703. <:#284,9360>define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  704.  
  705. <:#284,9360>
  706.  
  707. <:#284,9360>' Text for the dialog box
  708.  
  709. <:#568,9360>Define    cTocopy        "To copy a value into your document, select the value then click the Copy button.  Choose Paste to insert the value into your document."
  710.  
  711. <:#284,9360>define    cClick    "Click Data...to see the data Ami Pro gathered from your selection."
  712.  
  713. <:#284,9360>
  714.  
  715. <:#568,9360>Define    cThisFunction    "This function enables you to see fast, basic summary information about numeric data."
  716.  
  717. Define    cSelectData        "Select data from your document or click the Data... button to enter data."
  718.  
  719. <:#284,9360>
  720.  
  721. <:#284,9360>Define    MaxChar        240
  722.  
  723. <:#284,9360>Define TooManyChars    "You have selected too much data."
  724.  
  725. <:#284,9360>
  726.  
  727. <:#284,9360>
  728.  
  729. <:#284,9360>' How we display numbers in the dlg
  730.  
  731. <:#284,9360>Define    NumDecimals    3
  732.  
  733. <:#284,9360>
  734.  
  735. @Outline2@<:#284,9360>
  736.  
  737. <:#284,9360>
  738.  
  739. <:#284,9360>
  740.  
  741. <:#284,9360>' Dlg Defines
  742.  
  743. <:#284,9360>Define    Avgradio    21
  744.  
  745. <:#284,9360>Define    Sumradio    20
  746.  
  747. <:#284,9360>Define    Maxradio    22
  748.  
  749. <:#284,9360>Define    Minradio    23
  750.  
  751. <:#284,9360>Define    Avgtext    1021
  752.  
  753. <:#284,9360>Define    Sumtext    1020
  754.  
  755. <:#284,9360>Define    Maxtext    1022
  756.  
  757. <:#284,9360>Define    Mintext    1023
  758.  
  759. <:#284,9360>Define    Copybutton    40
  760.  
  761. <:#284,9360>Define    Databutton    41
  762.  
  763. <:#284,9360>Define    cToCopyText    1000
  764.  
  765. <:#284,9360>Define    cClickText    1001
  766.  
  767. <:#284,9360>
  768.  
  769. <:#284,9360>
  770.  
  771. <:#284,9360>' Win API Defines
  772.  
  773. <:#284,9360>' API defines
  774.  
  775. @Outline2@<:#284,9360>define    WM_SETFONT    0x30
  776.  
  777. @Outline2@<:#568,9360>define CreateFont()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  778.  
  779. @Outline2@<:#284,9360>define    DeleteObject(handle)    DllCall("gdi,DeleteObject,HH", %1)
  780.  
  781. @Outline2@<:#568,9360>Define    MyGetDlgItemText(hdg, id, string, max)    DllCall("User,GetDlgItemText,HHHCH",%1,%2,%3,%4)
  782.  
  783. <:#284,9360>define    CloseDlg(id)    dllcall("user,PostMessage,HHHHHH", HDLG, 0X111, %1, 0, 0).
  784.  
  785. <:#284,9360>Define    EnableWindow()    DllCall("User,EnableWindow,AHA",%1,%2)
  786.  
  787. @Outline2@<:#568,9360>define    SendMessage(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  788.  
  789. @Outline2@<:#284,9360>
  790.  
  791. @Outline2@<:#284,9360>
  792.  
  793. <:#284,9360>Declare FindAndReplace(String, FindWhat, ReplaceWhat)
  794.  
  795. <:#284,9360>Declare BuildNumberList(Val, aNumbers, List)
  796.  
  797. <:#284,9360>Declare StartEngine()
  798.  
  799. <:#284,9360>Declare DisplayBox(List)
  800.  
  801. <:#284,9360>Declare DataDlg(Hdlg, id, value)
  802.  
  803. <:#284,9360>Declare SetFontDlg(Hdlg, Id, value)
  804.  
  805. <:#284,9360>Declare FontDlg(Action, Hdlg, id)
  806.  
  807. <:#284,9360>
  808.  
  809. @Subhead@<:#284,9360>Function GetShade()
  810.  
  811. <:#284,9360>DefStr Stat, List, hInstance;
  812.  
  813. <:#284,9360>Mac = GetRunningMacroFile$()
  814.  
  815. <:#284,9360>If IsOKToRun(Copy)
  816.  
  817. <:#284,9360>    Copy()
  818.  
  819. <:#284,9360>Else
  820.  
  821. <:#284,9360>    ClipBoardWrite("",1)
  822.  
  823. <:#284,9360>Endif
  824.  
  825. <:#284,9360>Id = StartEngine()
  826.  
  827. <:#284,9360>If Id = 0
  828.  
  829. <:#284,9360>    Message("I did not start the engine")
  830.  
  831. <:#284,9360>    Return 0;
  832.  
  833. <:#284,9360>Endif
  834.  
  835. <:#284,9360>RetVal = CECREATEINSTANCE(&hInstance)
  836.  
  837. <:#284,9360>AllocGlobalVar("hInstance",1)
  838.  
  839. <:#284,9360>SetGlobalVar("hInstance",hInstance)
  840.  
  841. <:#284,9360>FontDlg(1,0,0)
  842.  
  843. <:#284,9360>
  844.  
  845. <:#284,9360>SetDlgCallBack(0,"{Mac}!InitDlg")
  846.  
  847. <:#284,9360>SetDlgCallBack(Databutton,"{Mac}!DataBox")
  848.  
  849. <:#284,9360>SetDlgCallBack(Copybutton,"{Mac}!CopyData")
  850.  
  851. @Outline3@<:#284,9360>DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  852.  
  853. <:#284,9360>Box = DialogBox(".","QuickStat")
  854.  
  855. <:#284,9360>CEDestroyInstance(hInstance)
  856.  
  857. <:#284,9360>FreeGlobalVar("hInstance")
  858.  
  859. <:#284,9360>FontDlg(4,0,0)
  860.  
  861. <:#284,9360>DllFreeLib(id)
  862.  
  863. <:#284,9360>End Function
  864.  
  865. <:#284,9360>
  866.  
  867. @Subhead@<:#284,9360>Function FindAndReplace(String, Findwhat, Replacewith)
  868.  
  869. <:#284,9360>DefStr Location;
  870.  
  871. <:#284,9360>OffSet = 0
  872.  
  873. <:#284,9360>While 0 != Assign(&Location, Instr(OffSet, String, FindWhat))
  874.  
  875. <:#284,9360>    BeforeLocation = Left$(String, Location - 1)
  876.  
  877. <:#284,9360>    AfterLocation = Right$(String, Len(String) - Location);
  878.  
  879. <:#284,9360>    *String = StrCat$(BeforeLocation, ReplaceWith, AfterLocation)
  880.  
  881. <:#284,9360>Wend
  882.  
  883. <:#284,9360>End Function
  884.  
  885. <:#284,9360>
  886.  
  887. @Subhead@<:I0,0,0,0><:S+-1><:#284,9360>Function BuildNumberList(Val, aNumbers, List)
  888.  
  889. <:#284,9360>' This function takes a string separated with spaces and creates a numeric list of values sep with a ,
  890.  
  891. <:#284,9360>DefStr Value, Location;
  892.  
  893. <:#284,9360>sList = GetProfileString$("Intl","sList","Win.Ini")
  894.  
  895. <:#284,9360>Val = StrCat$(Val," ")    ' put a space at the end
  896.  
  897. <:#284,9360>x = 1
  898.  
  899. <:#284,9360>OffSet = 0
  900.  
  901. <:#284,9360>Count = 1
  902.  
  903. <:#284,9360>While 0 != Assign(&Location, Instr(OffSet, Val, " "))
  904.  
  905. <:#284,9360>    Value =  StrField$(Val, x, " ")
  906.  
  907. <:#284,9360>    If IsNumeric(Value)
  908.  
  909. <:#284,9360>        If count = 1
  910.  
  911. <:#284,9360>            TempList = "{Value}"        
  912.  
  913. <:#284,9360>        Else
  914.  
  915. <:#284,9360>            TempList = StrCat$(TempList,"{sList}",Value)
  916.  
  917. <:#284,9360>        Endif
  918.  
  919. <:#284,9360>        Count = Count + 1
  920.  
  921. <:#284,9360>    Endif
  922.  
  923. <:#284,9360>    x = x + 1
  924.  
  925. <:#284,9360>    OffSet = Location + 1
  926.  
  927. <:#284,9360>Wend
  928.  
  929. <:#284,9360>*List = TempList
  930.  
  931. <:#284,9360>End Function
  932.  
  933. @Subhead@<:#284,9360>
  934.  
  935. @Subhead@<:#284,9360>Function StartEngine()
  936.  
  937. <:#284,9360>LibId = DLLLoadLib("LTSCE01.DLL","CECreateInstance","HO")
  938.  
  939. <:#284,9360>If LibId = 0
  940.  
  941. <:#284,9360>    Message("LTSCE01.DLL not found.  Copy the dll to your windows directory")
  942.  
  943. <:#284,9360>    Return 0;
  944.  
  945. <:#284,9360>Endif
  946.  
  947. <:#284,9360>Return Libid
  948.  
  949. <:#284,9360>End function
  950.  
  951. <:#284,9360>
  952.  
  953. <:#284,9360>
  954.  
  955. <:#284,9360>
  956.  
  957. @Subhead@<:#284,9360>Function InitDlg(Hdlg, Id, Value)
  958.  
  959. <:#284,9360>IgnoreKeyBoard(2)
  960.  
  961. <:#284,9360>HourGlass(on)
  962.  
  963. <:#284,9360>SetDlgItemText(hdlg,Sumradio,1)
  964.  
  965. <:#284,9360>SetFontDlg(Hdlg, Id, Value)
  966.  
  967. <:#284,9360>DataDlg(hDlg, Id, Value)
  968.  
  969. <:#284,9360>HourGlass(off)
  970.  
  971. @Subhead@<:#284,9360>End Function
  972.  
  973. @Subhead@<:#284,9360>
  974.  
  975. @Subhead@<:#284,9360>function DisplayHelp()
  976.  
  977. @Outline2@<:#284,9360>' two defines needed for help.  The help name and panel number are defined above
  978.  
  979. @Outline2@<:#284,9360>define FindWindowa() DllCall("user,FindWindow,HCC", %1, %2)
  980.  
  981. @Outline2@<:#284,9360>define WinHelpa(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  982.  
  983. @Outline2@<:#284,9360>prohWnd = FindWindowa("AmiProWndA", 0)
  984.  
  985. @Outline2@<:#284,9360>helpfile = strcat$(GetAmiDirectory$(), "HelpPack.hlp")
  986.  
  987. @Outline2@<:#284,9360>PanelNum= 55 
  988.  
  989. @Outline2@<:#284,9360>WinHelpa(prohWnd, helpfile, 0x0001, Panelnum)
  990.  
  991. @Outline2@<:#284,9360>end function
  992.  
  993. @Subhead@<:#284,9360>
  994.  
  995. @Subhead@<:#284,9360>
  996.  
  997. @Subhead@<:#284,9360>
  998.  
  999. @Subhead@<:#284,9360>
  1000.  
  1001. @Subhead@<:#284,9360>Function FontDlg(Action, Hdlg, id)
  1002.  
  1003. <:#284,9360>' 1    Create a font and allocvar
  1004.  
  1005. <:#284,9360>' 2    Return the handle of the create font 
  1006.  
  1007. <:#284,9360>' 3    Set the id specified to the font
  1008.  
  1009. <:#284,9360>' 4    Freeglobalvar and delete created object
  1010.  
  1011. <:#284,9360>
  1012.  
  1013. @Outline2@<:#568,9360>define    CreateFontDLG()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  1014.  
  1015. @Outline2@<:#284,9360>define    DeleteObjectDLG(handle)    DllCall("gdi,DeleteObject,HH", %1)
  1016.  
  1017. @Outline2@<:#568,9360>define    SendMessageDLG(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  1018.  
  1019. @Outline2@<:#284,9360>
  1020.  
  1021. @Outline2@<:#284,9360>
  1022.  
  1023. <:#284,9360>Switch Action
  1024.  
  1025. <:#284,9360>    Case 1    ' Create the font and store it
  1026.  
  1027. @Outline2@<:#284,9360>        Font = CreateFontDLG(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  1028.  
  1029. <:#284,9360>        AllocGlobalVar("FontHandle",1)
  1030.  
  1031. <:#284,9360>        If Font
  1032.  
  1033. <:#284,9360>            SetGlobalVar("FontHandle",Font)
  1034.  
  1035. <:#284,9360>            Return Font
  1036.  
  1037. <:#284,9360>        Else
  1038.  
  1039. <:#284,9360>            Return 0;    ' no font
  1040.  
  1041. <:#284,9360>        Endif
  1042.  
  1043. <:#284,9360>        Break;
  1044.  
  1045. <:#284,9360>    Case 2    ' Return the handle to the font
  1046.  
  1047. <:#284,9360>        Handle = GetGlobalVar$("FontHandle")
  1048.  
  1049. <:#284,9360>        If Handle 
  1050.  
  1051. <:#284,9360>            Return Handle
  1052.  
  1053. <:#284,9360>        Else
  1054.  
  1055. <:#284,9360>            Return 0
  1056.  
  1057. <:#284,9360>        Endif
  1058.  
  1059. <:#284,9360>
  1060.  
  1061. <:#284,9360>    Case 3    ' Set the id to the font
  1062.  
  1063. <:#284,9360>        Handle = GetGlobalVar$("FontHandle")
  1064.  
  1065. <:#284,9360>        If Handle 
  1066.  
  1067. <:#284,9360>            IdControl = GetDlgITem(Hdlg, id)
  1068.  
  1069. <:#284,9360>            SendMessageDlg(idControl, 0x30, Handle, 0)
  1070.  
  1071. <:#284,9360>            Return 1
  1072.  
  1073. <:#284,9360>        Else
  1074.  
  1075. <:#284,9360>            Return 0
  1076.  
  1077. <:#284,9360>        Endif
  1078.  
  1079. <:#284,9360>        Break;        
  1080.  
  1081. <:#284,9360>        
  1082.  
  1083. <:#284,9360>    Case 4    ' Delete the font and clear the var
  1084.  
  1085. <:#284,9360>        Handle = GetGlobalVar$("FontHandle")
  1086.  
  1087. <:#284,9360>        If Handle
  1088.  
  1089. <:#284,9360>            DeleteObjectDLG(Handle)
  1090.  
  1091. <:#284,9360>            Stat = 1    
  1092.  
  1093. <:#284,9360>        Else
  1094.  
  1095. <:#284,9360>            Stat = 0
  1096.  
  1097. <:#284,9360>        Endif
  1098.  
  1099. <:#284,9360>        FreeGlobalVar("FontHandle")
  1100.  
  1101. <:#284,9360>        Return Stat        
  1102.  
  1103. <:#284,9360>    Default
  1104.  
  1105. <:#284,9360>        Message("Fontdlg received an invalid parameter {Action}")
  1106.  
  1107. <:#284,9360>EndSwitch    
  1108.  
  1109. <:#284,9360>
  1110.  
  1111. <:#284,9360>End Function
  1112.  
  1113. @Subhead@<:#284,9360>
  1114.  
  1115. @Subhead@<:#284,9360>
  1116.  
  1117. @Subhead@<:#284,9360>
  1118.  
  1119. @Subhead@<:#284,9360>Function SetFontDlg(Hdlg, id, Value)
  1120.  
  1121. @Outline2@<:#284,9360>Font = FontDlg(2,0,0)
  1122.  
  1123. @Outline2@<:#284,9360>If Font
  1124.  
  1125. @Outline2@<:#284,9360>    For t = 20 to 23
  1126.  
  1127. @Outline2@<:#284,9360>        Htext = GetDlgItem(hDlg, t)
  1128.  
  1129. @Outline2@<:#284,9360>        hRadio = GetDlgItem(hDlg, t + 1000)
  1130.  
  1131. @Outline2@<:#284,9360>        SendMessage(hText, WM_SETFONT, font, 0)
  1132.  
  1133. @Outline4@<:#284,9360>        SendMessage(hradio, WM_SETFONT, font, 0)
  1134.  
  1135. @Outline4@<:#284,9360>    Next
  1136.  
  1137. @Outline4@<:#284,9360>    SendMessage(GetDlgItem(hdlg, cToCopyText), WM_SETFONT, font, 0)
  1138.  
  1139. @Outline4@<:#284,9360>    SendMessage(GetDlgItem(hdlg, cClickText), WM_SETFONT, font, 0)
  1140.  
  1141. @Outline2@<:#284,9360>Endif
  1142.  
  1143. <:#284,9360>End Function
  1144.  
  1145. <:#284,9360>
  1146.  
  1147. <:#284,9360>
  1148.  
  1149. <:#284,9360>
  1150.  
  1151. <:#284,9360>
  1152.  
  1153. @Subhead@<:#284,9360>Function DataDlg(Hdlg, id, value)
  1154.  
  1155. <:#284,9360>IgnoreKeyBoard(2)
  1156.  
  1157. <:#284,9360>DefStr Sum, Avg, Median, Max, Min, hInstance, List;
  1158.  
  1159. <:#284,9360>' Turn dlg paint off
  1160.  
  1161. <:#284,9360>HourGlass(on)
  1162.  
  1163. <:#284,9360>Dim aNumbers(1)
  1164.  
  1165. <:#284,9360>val = ClipBoardRead(1)
  1166.  
  1167. <:#284,9360>
  1168.  
  1169. <:#284,9360>FindAndReplace(&Val, "    ", " ")        ' Convert tab to space
  1170.  
  1171. <:#284,9360>FindAndReplace(&Val, Chr$(10)," ")
  1172.  
  1173. <:#284,9360>FindAndReplace(&Val, Chr$(13)," ")
  1174.  
  1175. <:#284,9360>FindAndReplace(&Val, "$","")            ' Remove $ sign
  1176.  
  1177. <:#284,9360>FindAndReplace(&Val, ",","")            ' Remove Commas
  1178.  
  1179. <:#284,9360>BuildNumberList(Val, &aNumbers, &List) 
  1180.  
  1181. <:#284,9360>If Len(List)<;>MaxChar
  1182.  
  1183. <:#284,9360>    List = Left$(List,MaxChar)
  1184.  
  1185. <:#284,9360>    Message(TooManyChars, "Ami Pro")
  1186.  
  1187. <:#284,9360>    Return -1;
  1188.  
  1189. <:#284,9360>Endif
  1190.  
  1191. <:#284,9360>
  1192.  
  1193. <:#284,9360>hInstance = GetGlobalVar$("hInstance")
  1194.  
  1195. <:#284,9360>CECalcNow(hInstance,"@Sum({List})",&Sum)
  1196.  
  1197. <:#284,9360>CECalcNow(hInstance,"@Round(@Avg({List}),3)",&Avg)
  1198.  
  1199. <:#284,9360>CECalcNow(hInstance,"@Min({List})",&Min)
  1200.  
  1201. <:#284,9360>CECalcNow(hInstance,"@Max({List})",&Max)
  1202.  
  1203. <:#284,9360>
  1204.  
  1205. <:#284,9360>SetDlgItemText(Hdlg, Sumtext, Sum)
  1206.  
  1207. <:#284,9360>SetDlgItemText(Hdlg, Avgtext, Avg)
  1208.  
  1209. <:#284,9360>SetDlgItemText(Hdlg, Maxtext, Max)
  1210.  
  1211. <:#284,9360>SetDlgItemText(Hdlg, Mintext, Min)
  1212.  
  1213. <:#284,9360>If  Len(List) <;> 0
  1214.  
  1215. <:#284,9360>    SetDlgItemText(Hdlg, cTocopytext, cToCopy)
  1216.  
  1217. <:#284,9360>    SetDlgItemText(Hdlg, cClickText, cClick)
  1218.  
  1219. <:#284,9360>    EnableWindow(GetDlgItem(Hdlg, Copybutton),1)
  1220.  
  1221. <:#284,9360>Else
  1222.  
  1223. <:#284,9360>    ' grey the copy button
  1224.  
  1225. <:#284,9360>    SetDlgItemText(Hdlg, cToCopyText, cThisFunction)
  1226.  
  1227. <:#284,9360>    SetDlgItemText(Hdlg, cClickText, cSelectData)
  1228.  
  1229. <:#284,9360>    EnableWindow(GetDlgItem(Hdlg, Copybutton),0)
  1230.  
  1231. <:#284,9360>
  1232.  
  1233. <:#284,9360>Endif    
  1234.  
  1235. <:#284,9360>HourGlass(off)
  1236.  
  1237. <:#284,9360>End Function
  1238.  
  1239. <:#284,9360>
  1240.  
  1241. <:#284,9360>
  1242.  
  1243. <:#284,9360>
  1244.  
  1245. @Subhead@<:#284,9360>FUnction CopyData(Hdlg, Id, value)
  1246.  
  1247. <:#284,9360>DefStr Data;
  1248.  
  1249. <:#284,9360>If GetDlgItemText(Hdlg, Sumradio)
  1250.  
  1251. <:#284,9360>    MyGetDlgItemText(Hdlg, Sumtext, &Data, 80)
  1252.  
  1253. <:#284,9360>Elseif GetDlgItemText(Hdlg, Avgradio)
  1254.  
  1255. <:#284,9360>    MyGetDlgItemText(hDlg, Avgtext, &Data, 80)
  1256.  
  1257. <:#284,9360>Elseif GetDlgItemText(hDlg, Maxradio)
  1258.  
  1259. <:#284,9360>    MyGetDlgItemText(hDlg, Maxtext, &Data, 80)
  1260.  
  1261. <:#284,9360>Elseif GetdlgItemText(hDlg, Minradio)
  1262.  
  1263. <:#284,9360>    MyGetDlgItemText(hDlg, Mintext, &Data, 80)
  1264.  
  1265. <:#284,9360>Endif
  1266.  
  1267. <:#284,9360>ClipBoardWrite(Data,1)
  1268.  
  1269. <:#284,9360>CloseDlg(2)
  1270.  
  1271. <:#284,9360>End Function
  1272.  
  1273. <:#284,9360>
  1274.  
  1275. <:#284,9360>
  1276.  
  1277. <:#284,9360>
  1278.  
  1279. <:#284,9360>
  1280.  
  1281. @Subhead@<:#284,9360>Function DataBox(Hdlg, Id, Value)
  1282.  
  1283. <:#284,9360>Value = ClipBoardRead(1)
  1284.  
  1285. <:#284,9360>Filledit(8000,Value)
  1286.  
  1287. <:#284,9360>Box = Dialogbox(".","Data")
  1288.  
  1289. <:#284,9360>If Box <<<;>1
  1290.  
  1291. <:#284,9360>    Return 0
  1292.  
  1293. <:#284,9360>Endif
  1294.  
  1295. <:#284,9360>Data = GetDialogField$(8000)
  1296.  
  1297. <:#284,9360>ClipBoardWrite(Data,1)
  1298.  
  1299. <:#284,9360>DataDlg(Hdlg, id, value)
  1300.  
  1301. <:#284,9360>End Function
  1302.  
  1303. <:#284,9360>
  1304.  
  1305. <:#284,9360>
  1306.  
  1307. <:#284,9360>
  1308.  
  1309. <:#284,9360>
  1310.  
  1311. <:#284,9360>
  1312.  
  1313. <:#284,9360>DIALOG    QuickStat
  1314.  
  1315. <:#284,9360>-2134376448    13    131    27    152    107    ""    "AmiDialog"    "QuickStats"
  1316.  
  1317. <:#284,9360>FONT    8    "Helv"
  1318.  
  1319. <:#284,9360>108    3    40    14    1    1342373889    "button"    "Done"    0 
  1320.  
  1321. <:#284,9360>108    19    40    14    40    1342373888    "button"    "Copy"    0 
  1322.  
  1323. <:#284,9360>108    35    40    14    41    1342373888    "button"    "&Data..."    0 
  1324.  
  1325. <:#284,9360>6    4    35    10    20    1342242825    "button"    "&Sum"    0 
  1326.  
  1327. <:#284,9360>6    16    40    10    21    1342242825    "button"    "&Average"    0 
  1328.  
  1329. <:#284,9360>6    28    50    10    22    1342242825    "button"    "&Maximum"    0 
  1330.  
  1331. <:#284,9360>6    40    50    10    23    1342242825    "button"    "Mi&nimum"    0 
  1332.  
  1333. <:#284,9360>6    52    142    33    1000    1342177280    "static"    "text"    0 
  1334.  
  1335. <:#284,9360>6    84    145    19    1001    1342177280    "static"    "text"    0 
  1336.  
  1337. <:#284,9360>64    4    30    8    1020    1342177282    "static"    "text"    0 
  1338.  
  1339. <:#284,9360>64    16    30    8    1021    1342177282    "static"    "text"    0 
  1340.  
  1341. <:#284,9360>64    28    30    8    1022    1342177282    "static"    "text"    0 
  1342.  
  1343. <:#284,9360>64    40    30    8    1023    1342177282    "static"    "text"    0 
  1344.  
  1345. <:#284,9360>END DIALOG
  1346.  
  1347. <:#284,9360>
  1348.  
  1349. <:#284,9360>
  1350.  
  1351. DIALOG    Data
  1352.  
  1353. -2134376448    4    80    51    207    107    ""    "AmiDialog"    "Data"
  1354.  
  1355. FONT    8    "Helv"
  1356.  
  1357. 6    6    156    96    8000    1350631492    "edit"    ""    0 
  1358.  
  1359. 164    4    40    14    1    1342373889    "button"    "OK"    0 
  1360.  
  1361. 164    21    40    14    2    1342373888    "button"    "Cancel"    0 
  1362.  
  1363. 163    49    40    27    1000    1342177281    "static"    "CTRL + M for a new line"    0 
  1364.  
  1365. END DIALOG
  1366.  
  1367. >
  1368.  
  1369. [Embedded]
  1370. 00019089
  1371. >
  1372. [macsum] 13
  1373. GetShade 0 0 8 59
  1374. FindAndReplace 555 3 5 88
  1375. BuildNumberList 807 3 8 98
  1376. StartEngine 1242 0 2 122
  1377. InitDlg 1447 3 1 133
  1378. DisplayHelp 1577 0 4 142
  1379. FontDlg 1762 3 5 155
  1380. SetFontDlg 2608 3 5 214
  1381. DataDlg 3084 3 10 231
  1382. CopyData 4483 3 2 277
  1383. DataBox 4948 3 3 295
  1384. QuickStat 5141 0 -1 311
  1385. Data 5852 0 -1 330
  1386. [macse]
  1387. 14 GetShade
  1388. 0 802
  1389. 13
  1390. 8 4
  1391. 0 1313 217 24 154
  1392. 13
  1393. 11 00000087
  1394. 2 154 1
  1395. 10 00000100
  1396. 0 1038 "" 1
  1397. 16 StartEngine
  1398. 13
  1399. 8 5
  1400. 6 5
  1401. 5 0
  1402. 18 0
  1403. 11 00000200
  1404. 0 3 "I did not start the engine"
  1405. 5 0
  1406. 15
  1407. 9
  1408. 0 284 "LTSCE01.DLL,CECREATEINSTANCE,HO" &3
  1409. 13
  1410. 8 6
  1411. 0 271 "hInstance" 1
  1412. 0 264 "hInstance" "{3}"
  1413. 16 FontDlg 1 0 0
  1414. 0 41 0 "{4}!InitDlg"
  1415. 0 41 41 "{4}!DataBox"
  1416. 0 41 40 "{4}!CopyData"
  1417. 0 47 112 "{4}!DisplayHelp"
  1418. 0 26 "." "QuickStat"
  1419. 13
  1420. 8 7
  1421. 0 284 "LTSCE01.DLL,CEDESTROYINSTANCE,HH" "{3}"
  1422. 0 266 "hInstance"
  1423. 16 FontDlg 4 0 0
  1424. 0 298 "{5}"
  1425. 6 0
  1426. 15
  1427. 9
  1428. 14 FindAndReplace
  1429. 5 0
  1430. 8 5
  1431. 5 0
  1432. 0 808 "{5}" "{0}" "{1}"
  1433. 13
  1434. 0 805 &4 [X]
  1435. 13
  1436. 18 1
  1437. 11 00000240
  1438. 6 4
  1439. 5 1
  1440. 3 1
  1441. 0 806 "{0}" [X]
  1442. 13
  1443. 8 6
  1444. 0 14 "{0}"
  1445. 13
  1446. 6 4
  1447. 3 1
  1448. 0 807 "{0}" [X]
  1449. 13
  1450. 8 7
  1451. 0 16 "{6}" "{2}" "{7}"
  1452. 13
  1453. 28 0
  1454. 10 00000029
  1455. 6 3
  1456. 15
  1457. 9
  1458. 14 BuildNumberList
  1459. 0 286 "Intl" "sList" "Win.Ini"
  1460. 13
  1461. 8 6
  1462. 0 16 "{0}" " "
  1463. 13
  1464. 8 0
  1465. 5 1
  1466. 8 7
  1467. 5 0
  1468. 8 8
  1469. 5 1
  1470. 8 9
  1471. 5 0
  1472. 0 808 "{8}" "{0}" " "
  1473. 13
  1474. 0 805 &5 [X]
  1475. 13
  1476. 18 1
  1477. 11 00000411
  1478. 0 20 "{0}" "{7}" " "
  1479. 13
  1480. 8 4
  1481. 0 277 "{4}"
  1482. 13
  1483. 11 00000358
  1484. 6 9
  1485. 5 1
  1486. 18 0
  1487. 11 00000303
  1488. 7 "{4}"
  1489. 8 10
  1490. 10 00000338
  1491. 0 16 "{10}" "{6}" "{4}"
  1492. 13
  1493. 8 10
  1494. 6 9
  1495. 5 1
  1496. 3 0
  1497. 8 9
  1498. 6 7
  1499. 5 1
  1500. 3 0
  1501. 8 7
  1502. 6 5
  1503. 5 1
  1504. 3 0
  1505. 8 8
  1506. 10 00000116
  1507. 6 10
  1508. 28 2
  1509. 6 3
  1510. 15
  1511. 9
  1512. 14 StartEngine
  1513. 0 297 "LTSCE01.DLL" "CECreateInstance" "HO"
  1514. 13
  1515. 8 1
  1516. 6 1
  1517. 5 0
  1518. 18 0
  1519. 11 00000181
  1520. 0 3 "LTSCE01.DLL not found.  Copy the dll to your windows directory"
  1521. 5 0
  1522. 15
  1523. 9
  1524. 6 1
  1525. 15
  1526. 9
  1527. 6 0
  1528. 15
  1529. 9
  1530. 14 InitDlg
  1531. 0 32 2
  1532. 0 296 1
  1533. 0 43 "{0}" 20 1
  1534. 16 SetFontDlg "{0}" "{1}" "{2}"
  1535. 16 DataDlg "{0}" "{1}" "{2}"
  1536. 0 296 0
  1537. 6 3
  1538. 15
  1539. 9
  1540. 14 DisplayHelp
  1541. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1542. 13
  1543. 8 1
  1544. 0 798
  1545. 13
  1546. 0 16 [X] "HelpPack.hlp"
  1547. 13
  1548. 8 2
  1549. 5 55
  1550. 8 3
  1551. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  1552. 6 0
  1553. 15
  1554. 9
  1555. 14 FontDlg
  1556. 5 1
  1557. 6 0
  1558. 18 0
  1559. 11 00000255
  1560. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  1561. 13
  1562. 8 4
  1563. 0 271 "FontHandle" 1
  1564. 6 4
  1565. 11 00000217
  1566. 0 264 "FontHandle" "{4}"
  1567. 6 4
  1568. 15
  1569. 9
  1570. 10 00000229
  1571. 5 0
  1572. 15
  1573. 9
  1574. 10 00000834
  1575. 10 00000834
  1576. 5 2
  1577. 6 0
  1578. 18 0
  1579. 11 00000381
  1580. 0 265 "FontHandle"
  1581. 13
  1582. 8 5
  1583. 6 5
  1584. 11 00000356
  1585. 6 5
  1586. 15
  1587. 9
  1588. 10 00000368
  1589. 5 0
  1590. 15
  1591. 9
  1592. 10 00000834
  1593. 5 3
  1594. 6 0
  1595. 18 0
  1596. 11 00000596
  1597. 0 265 "FontHandle"
  1598. 13
  1599. 8 5
  1600. 6 5
  1601. 11 00000558
  1602. 0 44 "{1}" "{2}"
  1603. 13
  1604. 8 6
  1605. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{5}" 0
  1606. 5 1
  1607. 15
  1608. 9
  1609. 10 00000570
  1610. 5 0
  1611. 15
  1612. 9
  1613. 10 00000834
  1614. 10 00000834
  1615. 5 4
  1616. 6 0
  1617. 18 0
  1618. 11 00000785
  1619. 0 265 "FontHandle"
  1620. 13
  1621. 8 5
  1622. 6 5
  1623. 11 00000730
  1624. 0 284 "gdi,DeleteObject,HH" "{5}"
  1625. 5 1
  1626. 8 7
  1627. 10 00000740
  1628. 5 0
  1629. 8 7
  1630. 0 266 "FontHandle"
  1631. 6 7
  1632. 15
  1633. 9
  1634. 10 00000834
  1635. 0 3 "Fontdlg received an invalid parameter {0}"
  1636. 6 3
  1637. 15
  1638. 9
  1639. 14 SetFontDlg
  1640. 16 FontDlg 2 0 0
  1641. 13
  1642. 8 4
  1643. 6 4
  1644. 11 00000464
  1645. 5 20
  1646. 8 5
  1647. 5 23
  1648. 6 5
  1649. 18 2
  1650. 12 00000147
  1651. 10 00000328
  1652. 5 1
  1653. 6 5
  1654. 3 0
  1655. 8 5
  1656. 10 00000071
  1657. 0 44 "{0}" "{5}"
  1658. 13
  1659. 8 6
  1660. 6 5
  1661. 5 1000
  1662. 3 0
  1663. 0 44 "{0}" [X]
  1664. 13
  1665. 8 7
  1666. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{4}" 0
  1667. 0 284 "user,SendMessage,HHHHJ" "{7}" 48 "{4}" 0
  1668. 10 00000114
  1669. 0 44 "{0}" 1000
  1670. 13
  1671. 0 284 "user,SendMessage,HHHHJ" [X] 48 "{4}" 0
  1672. 0 44 "{0}" 1001
  1673. 13
  1674. 0 284 "user,SendMessage,HHHHJ" [X] 48 "{4}" 0
  1675. 6 3
  1676. 15
  1677. 9
  1678. 14 DataDlg
  1679. 0 32 2
  1680. 0 296 1
  1681. 5 1
  1682. 21 11 [X]
  1683. 0 1037 1
  1684. 13
  1685. 8 12
  1686. 16 FindAndReplace &12 "    " " "
  1687. 0 39 10
  1688. 13
  1689. 16 FindAndReplace &12 [X] " "
  1690. 0 39 13
  1691. 13
  1692. 16 FindAndReplace &12 [X] " "
  1693. 16 FindAndReplace &12 "$" ""
  1694. 16 FindAndReplace &12 "," ""
  1695. 16 BuildNumberList "{12}" &11 &10
  1696. 0 14 "{10}"
  1697. 13
  1698. 5 240
  1699. 18 3
  1700. 11 00000413
  1701. 0 806 "{10}" 240
  1702. 13
  1703. 8 10
  1704. 0 3 "You have selected too much data." "Ami Pro"
  1705. 5 -1
  1706. 15
  1707. 9
  1708. 0 265 "hInstance"
  1709. 13
  1710. 8 9
  1711. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{9}" "@Sum({10})" &4
  1712. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{9}" "@Round(@Avg({10}),3)" &5
  1713. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{9}" "@Min({10})" &8
  1714. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{9}" "@Max({10})" &7
  1715. 0 43 "{0}" 1020 "{4}"
  1716. 0 43 "{0}" 1021 "{5}"
  1717. 0 43 "{0}" 1022 "{7}"
  1718. 0 43 "{0}" 1023 "{8}"
  1719. 0 14 "{10}"
  1720. 13
  1721. 5 0
  1722. 18 3
  1723. 11 00001125
  1724. 0 43 "{0}" 1000 "To copy a value into your document, select the value then click the Copy button.  Choose Paste to insert the value into your document."
  1725. 0 43 "{0}" 1001 "Click Data...to see the data Ami Pro gathered from your selection."
  1726. 0 44 "{0}" 40
  1727. 13
  1728. 0 284 "User,EnableWindow,AHA" [X] 1
  1729. 10 00001378
  1730. 0 43 "{0}" 1000 "This function enables you to see fast, basic summary information about numeric data."
  1731. 0 43 "{0}" 1001 "Select data from your document or click the Data... button to enter data."
  1732. 0 44 "{0}" 40
  1733. 13
  1734. 0 284 "User,EnableWindow,AHA" [X] 0
  1735. 0 296 0
  1736. 6 3
  1737. 15
  1738. 9
  1739. 14 CopyData
  1740. 0 42 "{0}" 20
  1741. 13
  1742. 11 00000110
  1743. 0 284 "User,GetDlgItemText,HHHCH" "{0}" 1020 &4 80
  1744. 10 00000388
  1745. 0 42 "{0}" 21
  1746. 13
  1747. 11 00000207
  1748. 0 284 "User,GetDlgItemText,HHHCH" "{0}" 1021 &4 80
  1749. 10 00000388
  1750. 0 42 "{0}" 22
  1751. 13
  1752. 11 00000304
  1753. 0 284 "User,GetDlgItemText,HHHCH" "{0}" 1022 &4 80
  1754. 10 00000388
  1755. 0 42 "{0}" 23
  1756. 13
  1757. 11 00000388
  1758. 0 284 "User,GetDlgItemText,HHHCH" "{0}" 1023 &4 80
  1759. 0 1038 "{4}" 1
  1760. 0 284 "user,PostMessage,HHHHHH" "{0}" 273 2 0 0
  1761. 6 3
  1762. 15
  1763. 9
  1764. 14 DataBox
  1765. 0 1037 1
  1766. 13
  1767. 8 2
  1768. 0 31 8000 "{2}"
  1769. 0 26 "." "Data"
  1770. 13
  1771. 8 4
  1772. 6 4
  1773. 5 1
  1774. 18 1
  1775. 11 00000115
  1776. 5 0
  1777. 15
  1778. 9
  1779. 0 27 8000
  1780. 13
  1781. 8 5
  1782. 0 1038 "{5}" 1
  1783. 16 DataDlg "{0}" "{1}" "{2}"
  1784. 6 3
  1785. 15
  1786. 9
  1787. DIALOG QuickStat
  1788. -2134376448 13 131 27 152 107 "" "AmiDialog" "QuickStats" 
  1789. FONT 8 "Helv" 
  1790. 108 3 40 14 1 1342373889 "button" "Done" 0 
  1791. 108 19 40 14 40 1342373888 "button" "Copy" 0 
  1792. 108 35 40 14 41 1342373888 "button" "&Data..." 0 
  1793. 6 4 35 10 20 1342242825 "button" "&Sum" 0 
  1794. 6 16 40 10 21 1342242825 "button" "&Average" 0 
  1795. 6 28 50 10 22 1342242825 "button" "&Maximum" 0 
  1796. 6 40 50 10 23 1342242825 "button" "Mi&nimum" 0 
  1797. 6 52 142 33 1000 1342177280 "static" "text" 0 
  1798. 6 84 145 19 1001 1342177280 "static" "text" 0 
  1799. 64 4 30 8 1020 1342177282 "static" "text" 0 
  1800. 64 16 30 8 1021 1342177282 "static" "text" 0 
  1801. 64 28 30 8 1022 1342177282 "static" "text" 0 
  1802. 64 40 30 8 1023 1342177282 "static" "text" 0 
  1803. DIALOG Data
  1804. -2134376448 4 80 51 207 107 "" "AmiDialog" "Data" 
  1805. FONT 8 "Helv" 
  1806. 6 6 156 96 8000 1350631492 "edit" "" 0 
  1807. 164 4 40 14 1 1342373889 "button" "OK" 0 
  1808. 164 21 40 14 2 1342373888 "button" "Cancel" 0 
  1809. 163 49 40 27 1000 1342177281 "static" "CTRL + M for a new line" 0 
  1810. 00019114
  1811.